<?
import ("stock_jsml_Ds");
stock_jsml_JsmlConfig::$config = new stock_jsml_JsmlConfig();
class stock_jsml_JsmlConfig extends jsml_Config {
	public static $config;
	//<@
	public $Ds = 'Ds';
	//@>
	public $JsmlView = 'JsmlView';
	protected function configBean($key) {

		$bean = parent::configBean($key);
		if ($this->JsmlView == $key) {

		}
		//<@
		else if ($this->Ds == $key) {
			$bean = $this->singleton($key, new stock_jsml_Ds())->construct(null);
		}
		//@>
		return $bean;
	}


	protected function configCss($key) {
		$css = parent::configCss($key);
		if ($this->JsmlView == $key) {
			$_->extend($css, array(
		//"backgroundColor" => "#2D9323"
		));
		}
		return $css;
	}

	protected function configText($key) {
		$text = parent::configText($key);
		if ("" == $key) {
			$text = "";
		}
		return $text;
	}
}